package com.itools.core.result;

import java.util.Date;

/**
 * @Author XUCHANG
 * @description:
 * @Date 2020/11/4 18:01
 */
public class FmsDetailRecordResult {
    /**
     * 主键
     */
    private Long id;

    /**
     * HTTP协议定义的文件类型，文件上传从文件流中获取
     * 文件存取时使用该字段填入response的content-type字段
     */
    private String contentType;

    /**
     * 文件所属系统，文件上传时指定
     */
    private String fromSystemId;

    /**
     * 文件大小，单位为字节
     */
    private Long fileSize;

    /**
     * 文件的全局唯一ID，后续访问均使用该ID
     */
    private String uniqueId;

    /**
     * 文件描述信息
     */
    private String remark;

    /**
     * 原文件名，来自入参
     */
    private String origFileName;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 删除时间
     */
    private Date deleteTime;

    /**
     * 是否已删除文件本身，也即是说，删除文件时数据库记录仅仅将该字段置位1，并不实际删除数据库记录
     * 0：没有删除
     * 1：已删除
     */
    private String deleted;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType;
    }

    public String getFromSystemId() {
        return fromSystemId;
    }

    public void setFromSystemId(String fromSystemId) {
        this.fromSystemId = fromSystemId;
    }

    public Long getFileSize() {
        return fileSize;
    }

    public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
    }

    public String getUniqueId() {
        return uniqueId;
    }

    public void setUniqueId(String uniqueId) {
        this.uniqueId = uniqueId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getOrigFileName() {
        return origFileName;
    }

    public void setOrigFileName(String origFileName) {
        this.origFileName = origFileName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }

    public String getDeleted() {
        return deleted;
    }

    public void setDeleted(String deleted) {
        this.deleted = deleted;
    }
}